PROJECTENGRAM

VULNERABILITY ASSESSMENT AND PENETRATION TESTING

Tags: #◇Computer Science #◇NSSECU1 #◇Conceptual #◇VAPT #◇Penetration Testing


◇Overview

Vulnerability Assessment and Penetration Testing (VAPT) is a comprehensive approach to identifying and exploiting security weaknesses in an organization's IT infrastructure. While Vulnerability Assessment (VA) focuses on discovering and cataloging flaws, Penetration Testing (PT) involves actively exploiting those flaws to determine the real-world impact of an attack.

◇Key Definitions

  • Vulnerability Assessment: An automated or manual process of identifying, quantifying, and prioritizing vulnerabilities in a system.
  • Penetration Testing (Pen-Test): An authorized, simulated attack on a computer system to evaluate its security.
  • Rules of Engagement (RoE): The agreed-upon guidelines defining the scope, timing, and limits of a penetration test.
  • Zero-Day: A vulnerability that is unknown to the vendor and for which no patch currently exists.

◇Theoretical Framework / Core Concepts

Phases of Penetration Testing

  1. Pre-Engagement: Defining scope, RoE, and signing NDAs.
  2. Reconnaissance / Information Gathering: Passive (OSINT) and Active (scanning) data collection.
  3. Threat Modeling & Vulnerability Identification: Analyzing gathered data to identify potential attack vectors.
  4. Exploitation: Actively attacking the identified vulnerabilities to gain access.
  5. Post-Exploitation: Maintaining access, privilege escalation, and pivoting to other network segments.
  6. Reporting: Documenting findings, risk severity, and remediation steps.

Testing Methodologies

  • Black Box: Tester has zero prior knowledge of the internal architecture. Simulates an external attacker.
  • White Box: Tester has full knowledge (source code, architecture diagrams). Highly thorough.
  • Gray Box: Tester has partial knowledge (e.g., standard user credentials).

◇Worked Examples / Protocol Walkthroughs / Calculations

The Nmap Scanning Process

  1. Ping Sweep: nmap -sn 192.168.1.0/24 (Identifies live hosts).
  2. Port Scan: nmap -sS -p- 192.168.1.50 (SYN stealth scan on all 65535 ports).
  3. Service/Version Detection: nmap -sV -p 22,80 192.168.1.50 (Determines software versions like OpenSSH 7.2).
  4. Vulnerability Scanning: Using Nmap Scripting Engine (NSE) nmap --script vuln 192.168.1.50.

◇Summary & Key Takeaways

  • VAPT is crucial for proactive security posturing.
  • Penetration testing provides proof of exploitability, separating theoretical vulnerabilities from actual risks.
  • The Reporting phase is often considered the most critical, as it translates technical findings into business risks and actionable remediation.

◇References & Navigation

CONFIRMATION // 理解度の確認

ACTIVE RECALL VERIFICATION

Select an answer to verify conceptual comprehension and reveal the technical rationale.

Q1

Which phase of a penetration test involves gathering open-source intelligence (OSINT)?

Q2

What is the primary difference between Vulnerability Assessment and Penetration Testing?

Q3

A tester is given full source code and network diagrams before a test. What type of test is this?

Q4

In penetration testing, what defines the boundaries and limitations of the test?

Q5

Which tool is widely used as a vulnerability scanner?

Q6

Gaining higher-level permissions on a compromised system is known as:

Q7

Moving from a compromised host to attack other systems on the internal network is called:

Q8

Which document is the ultimate deliverable of a penetration test?

Q9

What is a "Zero-Day" vulnerability?

Q10

Which command performs a SYN stealth scan in Nmap?

Vulnerability Assessment and Penetration Testing | PROJECT ENGRAM